package com.shz.appletsapi.common;

import lombok.Getter;
import lombok.Setter;

public enum MinerType {

	MINER_REQ_GET_ACC("miner_req_get_acc", 18101),
	MINER_REQ_GET_ACC_RSP("miner_req_get_acc_rsp", 18102),

	MINER_REQ_HEARTBEAT("miner_req_heartbeat", 18103),
	MINER_REQ_HEARTBEAT_RSP("miner_req_heartbeat_rsp", 18104),

	MINER_REQ_VERSION("miner_req_version", 18105), 
	MINER_REQ_VERSION_RSP("miner_req_version _rsp", 18106),

	MINER_DECRYPTION_FAILURE("miner_decryption_failure", 19001);

	@Getter
	@Setter
	private String name;
	@Getter
	@Setter
	private Integer type;

	MinerType(String name, Integer type) {
		this.name = name;
		this.type = type;
	}


}
